package com.yaohuan;

import java.io.*;
import java.net.Socket;

/**
 * @author YaoHuan
 * @ClassName BaiduSocket
 * @Description 调用百度首页
 * @Date 2022/12/7 8:49
 */
public class BaiduSocket {
    public static void main(String[] args) {
        try {
            Socket socket = new Socket("14.215.177.39",80);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
